/* 1. 加载天地图影像图层 */
let key = "38b1d96a75827a1b40b59e1b5e8f5b7e"
/* 天地图影像图层 */
const TianDiMap_img = new ol.layer.Tile({
  title: "天地图影像图层",
  source: new ol.source.XYZ({
    url:
      "http://t0.tianditu.com/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=" + key,
    wrapX: false,
  }),
})
/* 天地图影像注记图层 */
const TianDiMap_cia = new ol.layer.Tile({
  title: "天地图影像注记图层",
  source: new ol.source.XYZ({
    url:
      "http://t0.tianditu.com/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=" + key,
    wrapX: false,
  }),
})
const TianDiMap_vec = new ol.layer.Tile({
  title: "天地图矢量图层",
  source: new ol.source.XYZ({
    url:
      "http://t0.tianditu.com/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=" + key,
    wrapX: false,
  }),
})
const TiandiMap_cva = new ol.layer.Tile({
  title: "天地图矢量注记图层",
  source: new ol.source.XYZ({
    url:
      "http://t0.tianditu.com/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + key, 
  }),
})
